const { Web3 } = require('web3');
//var web3 = new Web3(Web3.givenProvider || 'ws://some.local-or-remote.node:8546');
const rpcURL = 'https://goerli.infura.io/v3/e872660abd5c430ca1b95cc5ff1bcdae' // Your RPC URL goes here
var web3 = new Web3(rpcURL)
// const address = "0x105cb19ba40384a8f2985816DA7883b076969cA7";
// web3.eth.getBalance(address, (err, wei) => {
//     balance = web3.utils.fromWei(wei, 'ether')
//   })
  web3.eth.getAccounts(console.log);